﻿<%@ Page Title="" Language="C#" MasterPageFile="~/iFrameMasterPage.master" AutoEventWireup="true" CodeFile="iFarmeDictionary_AdressPrograms.aspx.cs" Inherits="iFarmeDictionary_AdressPrograms" %>


<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">

<table width ="100%" cellpadding ="1" cellspacing ="1" >
    <tr >
        <td style ="width :20px" >            
            <asp:Image ID="Image1" ImageUrl ="~/images/Calendar_scheduleHS.png" runat="server" />
        </td>
        <td style ="text-align :left;font-weight :bold"  >
            Адресные программы
        </td>
        <td style ="text-align :right " >
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                            <ContentTemplate>
                                                <asp:Button ID="btnSaveExit" runat="server" CssClass="btn" 
                                                     Text="Новая запись"  onclick="OnAdd_Click" />
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
        </td>
    </tr>
</table> 

 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">

<table width="100%" cellspacing ="0">
<asp:ListView ID="lvProgramList" runat="server" >
    <LayoutTemplate  >  
    <tr >
        <td  class ="grd_td_head" style ="width :20px"  >
            &nbsp
        </td>
        <td   class ="grd_td_head">
            Наименование
        </td>
        <td  class ="grd_td_head" >
            &nbsp
        </td>
        
    </tr>
    </tr><tr runat="server" id="itemPlaceholder" ></tr>              
    </LayoutTemplate>
  
    <ItemTemplate >
    <tr onmouseover ="GrdItemOnMouseOver(this);" onmouseout ="GrdItemOnMouseOut(this);">
       <td class ="grd_td_item" style ="vertical-align :bottom ; text-align :center"> 
            <asp:Image ID=Image1 runat="server"  ImageUrl ="~/images/grippy.png"/>
       </td>
        <td class ="grd_td_item"  onclick =<%# GetEditCommand((string)Eval("ID"))  %> >
            <%# Eval("Name") %>
        </td>        
         <td style ="width :20px" class ="grd_td_item"  >
            <asp:CheckBox ID="CheckBox1" runat="server" />
        </td>
        
    </tr>
    </ItemTemplate> 
    </asp:ListView> 
  </table>
</asp:Content>

